﻿

namespace LS.Nc6.Web.Entry.Models
{
    public class SysMenuModel
    {
        /// <summary>
        /// 菜单ID
        /// </summary>
        public long id { get; set; }

        /// <summary>
        /// 导航标题
        /// </summary>
        public string title { get; set; }

        /// <summary>
        /// 菜单类型下访问的页面
        /// </summary>
        public string href { get; set; }
        /// <summary>
        /// 图标
        /// </summary>
        public string icon { get; set; }

        /// <summary>
        /// 菜单类型 0: 目录 1: 菜单
        /// </summary>
        public int type { get; set; }

        /// <summary>
        /// 当 type 为 1 时，openType 生效，_iframe 正常打开 _blank 新建浏览器标签页
        /// </summary>
        public string openType { get; set; }

        /// <summary>
        /// 是否菜单 1=是  0-否
        /// </summary>
        public bool isMenu { get; set; }

        /// <summary>
        /// 子导航 参数同上
        /// </summary>
        public List<SysMenuModel> children { get; set; }

    }
 
}